package com.slf.quant.facade.sdk.okex.v5.service.marketData;

import com.alibaba.fastjson.JSONObject;

public interface MarketDataAPIService {

    //获取所有产品行情信息 Get Tickers
    JSONObject getTickers(String instType, String uly);

    //获取单个产品行情信息 Get Ticker
    JSONObject getTicker(String instId);

    //获取指数行情数据 Get Index Tickers
    JSONObject getIndexTickers(String quoteCcy, String instId);

    //获取产品深度 Get Order Book
    JSONObject getOrderBook(String instId, String sz);

    //获取所有交易产品K线数据 Get Candlesticks
    JSONObject getCandlesticks(String instId, String after, String before, String bar, String limit);

    //获取交易产品历史K线数据（仅主流币） Get Candlesticks History（top currencies only）
    JSONObject getCandlesticksHistory(String instId, String after, String before, String bar, String limit);

    //获取指数K线数据 Get Index Candlesticks
    JSONObject getIndexCandlesticks(String instId, String after, String before, String bar, String limit);

    //获取标记价格K线数据 Get Mark Price Candlesticks
    JSONObject getMarkPriceCandlesticks(String instId, String after, String before, String bar, String limit);

    //获取交易产品公共成交数据 Get Trades
    JSONObject getTrades(String instId, String limit);

}
